<template>
	<view style="display: flex;align-items: center;flex-direction: column;">
		<view class="success-icon">
			<image src="../../static/icon/success.png"></image>
			<!-- <view class="hook">
				
			</view> -->
		</view>
		<view class="">
			工单创建成功
		</view>

		<button type="default" class="home-btn" @click="goHome">返回首页</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			goHome() {
				uni.switchTab({
					url: '../index/index'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.success-icon {
		margin: 30rpx;
		margin-top: 180rpx;
		width: 200rpx;
		height: 200rpx;
		border-radius: 50%;
		// background-color: #4CD964;
		display: flex;
		justify-content: center;
		align-items: center;
		image {
			width: 100%;
			height: 100%;
		}
		// color: white;
		
		// .hook {
		// 	width: 80rpx;
		// 	height: 50rpx;
		// 	border-bottom: 8rpx solid white;
		// 	border-left: 8rpx solid white;
		// 	transform: translateY(-10rpx) rotate(-45deg);
		// }
	}

	.home-btn {
		margin-top: 80rpx;
		width: 568rpx;
		height: 80rpx;
		line-height: 80rpx;
		border-radius: 8rpx;
		// margin: 0 auto;
		font-size: 28rpx;
		font-family: Noto Sans S Chinese;
		font-weight: normal;
		color: #636363;
		background: #1152FC;
		color: #FFFFFF;
	}
</style>
